import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import fastclick from 'fastclick'
import VueLazyLoad from 'vue-lazyload'
import store from './store'

import './common/stylus/index.styl'

//解决快速点击时浏览器和手机之间适配问题
fastclick.attach(document.body);
// Vue.config.productionTip = false

//懒加载
Vue.use(VueLazyLoad,{
  loading:require('common/image/default.png')
})

/* eslint-disable no-new */
new Vue({
  router,
  el: '#app',
  store,
  render: h => h(App)
});
